package lab02.Test37;

/**
 * Created by Administrator on 2017/11/18.
 */
public class Graduate extends Student {

    //而对于研究生，则需要平均超过80分才能够通过。

    String calResult() {

        double avg = calAverage();

        if (avg > 80)
            result = "通过";
        else result = "不通过";

        return result;
    }
}